﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Spore.Validator
{
    /// <summary>
    /// 验证器接口
    /// </summary>
    public interface IValidator
    {
        bool IsValid(Control controlToValid);

        string ErrorMessage
        {
            get;
            set;
        }
    }
}
